import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'
const LessIdKey = 'Admin-LessId'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}

export function getLesseeId() {
  return Cookies.get(LessIdKey)
}

export function setLesseeId(lesseeid) {
  return Cookies.set(LessIdKey, lesseeid)
}

export function removeLesseeId() {
  return Cookies.remove(LessIdKey)
}
